package com.base.common;

import java.util.HashMap;
import java.util.Map;

/**
 * 请求参数类
 * @author yanghao0518
 *
 */
public class RequestParameters {

	private int page;
	
	private int rows;
	
	private String sort = "id desc";
	
	private int comp;
	
	protected Map<String,String> beanProxy;
	
	protected Map<String,Object> queryProxy = new HashMap<String,Object>();
	
	private int isAllOut;
	
	private String pks;
	
	private String otherParam;
	
	private Object record;
	
	private String iSortCol_0;//排序列
	
	private String sSortDir_0;//排序规则
	
	private int iDisplayLength;//每次请求多少行
	
	private int iDisplayStart;//开始查询序号
	
	private String sSearch;
	
	private int sEcho = 1;
	
	private String dataBaseCode;//请求数据源code
	
	private int isNonPage ;//是否分页
	
	private int  v2hldghlcib0agugzgf0ysbhy2nlc3m;//是否加数据访问权限 1不加
	
	private String filterColumn;//数据过滤列
	
	private String ownerSql;//自定义的查询语句
	
	private Integer toStatus;//待修改的状态
	
	private int contractType;//合同模板类型
	
	public String getOtherParam() {
		return otherParam;
	}

	public void setOtherParam(String otherParam) {
		this.otherParam = otherParam;
	}
	


	public int getContractType() {
		return contractType;
	}

	public void setContractType(int contractType) {
		this.contractType = contractType;
	}

	public Map<String, Object> getQueryProxy() {
		return queryProxy;
	}

	public void setQueryProxy(Map<String, Object> queryProxy) {
		this.queryProxy = queryProxy;
	}

	public Integer getToStatus() {
		return toStatus;
	}

	public void setToStatus(Integer toStatus) {
		this.toStatus = toStatus;
	}

	public String getOwnerSql() {
		return ownerSql;
	}

	public void setOwnerSql(String ownerSql) {
		this.ownerSql = ownerSql;
	}

	public String getFilterColumn() {
		return filterColumn;
	}

	public void setFilterColumn(String filterColumn) {
		this.filterColumn = filterColumn;
	}

	public int getV2hldghlcib0agugzgf0ysbhy2nlc3m() {
		return v2hldghlcib0agugzgf0ysbhy2nlc3m;
	}

	public void setV2hldghlcib0agugzgf0ysbhy2nlc3m(
			int v2hldghlcib0agugzgf0ysbhy2nlc3m) {
		this.v2hldghlcib0agugzgf0ysbhy2nlc3m = v2hldghlcib0agugzgf0ysbhy2nlc3m;
	}

	public int getIsNonPage() {
		return isNonPage;
	}

	public void setIsNonPage(int isNonPage) {
		this.isNonPage = isNonPage;
	}

	public String getDataBaseCode() {
		return dataBaseCode;
	}

	public void setDataBaseCode(String dataBaseCode) {
		this.dataBaseCode = dataBaseCode;
	}

	public int getsEcho() {
		return sEcho;
	}

	public void setsEcho(int sEcho) {
		this.sEcho = sEcho;
	}

	public String getiSortCol_0() {
		return iSortCol_0;
	}

	public void setiSortCol_0(String iSortCol_0) {
		this.iSortCol_0 = iSortCol_0;
	}

	public String getsSortDir_0() {
		return sSortDir_0;
	}

	public void setsSortDir_0(String sSortDir_0) {
		this.sSortDir_0 = sSortDir_0;
	}

	public int getiDisplayLength() {
		return iDisplayLength<=0?5:iDisplayLength;
	}

	public void setiDisplayLength(int iDisplayLength) {
		this.iDisplayLength = iDisplayLength;
	}

	public int getiDisplayStart() {
		return iDisplayStart<0?0:iDisplayStart;
	}

	public void setiDisplayStart(int iDisplayStart) {
		this.iDisplayStart = iDisplayStart;
	}

	public String getsSearch() {
		return sSearch;
	}

	public void setsSearch(String sSearch) {
		this.sSearch = sSearch;
	}

	

	public Object getRecord() {
		return record;
	}

	public void setRecord(Object record) {
		this.record = record;
	}

	public String getPks() {
		return pks;
	}

	public void setPks(String pks) {
		this.pks = pks;
	}

	public int getIsAllOut() {
		return isAllOut;
	}

	public void setIsAllOut(int isAllOut) {
		this.isAllOut = isAllOut;
	}

	public int getPage() {
		return page<1?1:page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows<=0?5:rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public int getComp() {
		return comp;
	}

	public void setComp(int comp) {
		this.comp = comp;
	}

	public Map<String, String> getBeanProxy() {
		return beanProxy;
	}

	public void setBeanProxy(Map<String, String> beanProxy) {
		this.beanProxy = beanProxy;
	}
	
	
}
